﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace csvviewer.adapter
{
    public class Parse_command_line
    {
        public void Process(string[] args)
        {
            this.PageLength(args.Length > 1 ? int.Parse(args[1]) : 20);
            this.Filename(args[0]);
        }

        public event Action<string> Filename;
        public event Action<int> PageLength;
    }
}
